package com.teach.service.photo;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.teach.dto.NewsSearch;
import com.teach.entity.News;

public interface PhotoArticleService {
	
	/**
	 * 添加文章
	 * @param news
	 * suzuka
	 */
	
void add(News news);
	
	void update(News news);
	
	void delete(Long newsId);
	
	News get(Long newsId);
	
	List<News> list(int startIndex,int len );

	PageInfo<News> page(int current,int rowMax);
	
	PageInfo<News> pageSearch(NewsSearch search);
}
